// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_INV_PICKING_APPLICATION
// * CreateDate    : 2012/3/5 15:58:58
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/5 15:58:58
// * LastChanger   : 2012/3/5 15:58:58
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class InvPickingApplicationTable : TableInfo
    {
		public const string C_TableName = "INV_PICKING_APPLICATION";
		
		public const string C_APPLICATION_ID = "APPLICATION_ID";
		public const string C_APPLICATION_CODE = "APPLICATION_CODE";
		public const string C_APPLICATION_PERSON = "APPLICATION_PERSON";
		public const string C_APPLICATION_DATE = "APPLICATION_DATE";
		public const string C_WAREHOUSE_CODE = "WAREHOUSE_CODE";
		public const string C_REASON = "REASON";
		public const string C_STATUS = "STATUS";
		public const string C_REMARK = "REMARK";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
		public const string C_APPROVED_BY = "APPROVED_BY";
		public const string C_APPROVED_DATE = "APPROVED_DATE";
		public const string C_CONFIRMED_BY = "CONFIRMED_BY";
		public const string C_CONFIRMED_DATE = "CONFIRMED_DATE";
		
		public InvPickingApplicationTable()
        {
            _tableName = "INV_PICKING_APPLICATION";
        }
		
		protected static InvPickingApplicationTable _current;
        public static InvPickingApplicationTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new InvPickingApplicationTable();

            _current.Add(C_APPLICATION_ID, new ColumnInfo(C_APPLICATION_ID,"ApplicationId", true, typeof(string)));
            _current.Add(C_APPLICATION_CODE, new ColumnInfo(C_APPLICATION_CODE,"ApplicationCode", false, typeof(string)));
            _current.Add(C_APPLICATION_PERSON, new ColumnInfo(C_APPLICATION_PERSON,"ApplicationPerson", false, typeof(string)));
            _current.Add(C_APPLICATION_DATE, new ColumnInfo(C_APPLICATION_DATE,"ApplicationDate", false, typeof(DateTime)));
            _current.Add(C_WAREHOUSE_CODE, new ColumnInfo(C_WAREHOUSE_CODE,"WarehouseCode", false, typeof(string)));
            _current.Add(C_REASON, new ColumnInfo(C_REASON,"Reason", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE,"LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_APPROVED_BY, new ColumnInfo(C_APPROVED_BY,"ApprovedBy", false, typeof(string)));
            _current.Add(C_APPROVED_DATE, new ColumnInfo(C_APPROVED_DATE,"ApprovedDate", false, typeof(DateTime)));
            _current.Add(C_CONFIRMED_BY, new ColumnInfo(C_CONFIRMED_BY,"ConfirmedBy", false, typeof(string)));
            _current.Add(C_CONFIRMED_DATE, new ColumnInfo(C_CONFIRMED_DATE,"ConfirmedDate", false, typeof(DateTime)));
			
		}
		
		public ColumnInfo APPLICATION_ID
        {
            get { return this[C_APPLICATION_ID]; }
        }
		
		public ColumnInfo APPLICATION_CODE
        {
            get { return this[C_APPLICATION_CODE]; }
        }
		
		public ColumnInfo APPLICATION_PERSON
        {
            get { return this[C_APPLICATION_PERSON]; }
        }
		
		public ColumnInfo APPLICATION_DATE
        {
            get { return this[C_APPLICATION_DATE]; }
        }
		
		public ColumnInfo WAREHOUSE_CODE
        {
            get { return this[C_WAREHOUSE_CODE]; }
        }
		
		public ColumnInfo REASON
        {
            get { return this[C_REASON]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }
		
		public ColumnInfo APPROVED_BY
        {
            get { return this[C_APPROVED_BY]; }
        }
		
		public ColumnInfo APPROVED_DATE
        {
            get { return this[C_APPROVED_DATE]; }
        }
		
		public ColumnInfo CONFIRMED_BY
        {
            get { return this[C_CONFIRMED_BY]; }
        }
		
		public ColumnInfo CONFIRMED_DATE
        {
            get { return this[C_CONFIRMED_DATE]; }
        }
		
		
		
	}
}

